import request from '@/utils/request'

// 图片标签列表
export function queryImagesTagList(data) {
  return request({
    url: '/v1/assignment/images-tag/list',
    method: 'POST',
    data
  })
}

// 创建图片标签
export function createImagesTag(data) {
  return request({
    url: '/v1/assignment/images-tag/create',
    method: 'POST',
    data
  })
}

// 修改图片标签
export function editImagesTag(data) {
  return request({
    url: '/v1/assignment/images-tag/edit',
    method: 'POST',
    data
  })
}

// 图片标签详情
export function getImagesTagDetail(data) {
  return request({
    url: '/v1/assignment/images-tag/detail',
    method: 'POST',
    data
  })
}

// 删除图片标签
export function deleteImagesTag(data) {
  return request({
    url: '/v1/assignment/images-tag/delete',
    method: 'POST',
    data
  })
}

// 变更状态
export function setStausImagesTag(data) {
  return request({
    url: '/v1/assignment/images-tag/set-status',
    method: 'POST',
    data
  })
}

// 图片标签日志
export function getImagesTagLog(data) {
  return request({
    url: '/v1/assignment/images-tag/log',
    method: 'POST',
    data
  })
}

// 获取状态下拉
export function getOptions() {
  return request({
    url: `/assignment/images/get-options`,
    method: "get",
  });
}